package java67_adv6;

import java.io.*;

public class BuffReaderTest {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new FileReader("d:/logs/controller.log"));
		String str = null;
		int k = 0;
		while ((str = br.readLine()) != null) {
			System.out.println(++k + ":" + str);
		}
		br.close();
		// BufferedWriter:=>
	}

}
